package com.ydd.vo;

import com.ydd.vo.ArticleVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * Description TODO
 * Author itheima
 * Date 2023-05-2023/5/29 16:01
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "GET 推荐/热点文章响应对象",description = "null响应传输对象")
public class IndexArticleVO implements Serializable {
    /**
     * 接口描述
     */
    @ApiModelProperty
    private String desc;
    /**
     * 最新文章
     */
    @ApiModelProperty
    private List<ArticleVO> list;

}
